<extend name="layout:index"/>

<block name="content">
<div class="mws-panel grid_8" style="min-width:780px">
	<div class="mws-panel-header">
		<span><i class="icon-table"></i>管理中心-充值管理</span>
	</div>
	<div class="mws-panel-body no-padding">
		<div id="DataTables_Table_1_wrapper" class="dataTables_wrapper" role="grid">
			<form action="/admin/caiwu/chongzhi" method="get">
				<div id="DataTables_Table_1_length" class="dataTables_length">
					<label>显示 
					<select size="1" name="num" aria-controls="DataTables_Table_1">
						<option value="10" <if condition="$num eq 10">selected</if>>10</option>
						<option value="25" <if condition="$num eq 25">selected</if>>25</option>
						<option value="50" <if condition="$num eq 50">selected</if>>50</option>
						<option value="100" <if condition="$num eq 100">selected</if>>100</option>
					</select> 页
				</label>
				</div>
					<div class="dataTables_filter" id="DataTables_Table_1_filter"><label>搜索用户名: <input aria-controls="DataTables_Table_1" name="username" type="text"></label>
					<input type="submit" value="提交" class="btn btn-primary">
				</div>
			</form>	
				<br>
				<form action="/admin/caiwu/add" method="get">
					<div style="margin-left:10px;"><input class="btn btn-danger" type="submit" value="添加申请"></div>
				</form>
				<br>
			
			
			<table class="mws-datatable-fn mws-table dataTable" id="DataTables_Table_1" aria-describedby="DataTables_Table_1_info">
			    <thead>
			        <tr role="row">
				        <th class="sorting_asc" role="columnheader" tabindex="0" aria-controls="DataTables_Table_1" rowspan="1" colspan="1" style="width: 187px;" aria-sort="ascending" aria-label="Rendering engine: activate to sort column descending">币种
				        </th>
				        <th class="sorting" role="columnheader" tabindex="0" aria-controls="DataTables_Table_1" rowspan="1" colspan="1" style="width: 249px;" aria-label="Browser: activate to sort column ascending">会员名称
				        </th>
				        <th class="sorting" role="columnheader" tabindex="0" aria-controls="DataTables_Table_1" rowspan="1" colspan="1" style="width: 233px;" aria-label="Platform(s): activate to sort column ascending">操作日期
				        </th>
				        <th class="sorting" role="columnheader" tabindex="0" aria-controls="DataTables_Table_1" rowspan="1" colspan="1" style="width: 162px;" aria-label="Engine version: activate to sort column ascending">金额
				        </th>
				        <th class="sorting" role="columnheader" tabindex="0" aria-controls="DataTables_Table_1" rowspan="1" colspan="1" style="width: 118px;" aria-label="CSS grade: activate to sort column ascending">会员备注
				        </th>
				        <th class="sorting" role="columnheader" tabindex="0" aria-controls="DataTables_Table_1" rowspan="1" colspan="1" style="width: 118px;" aria-label="CSS grade: activate to sort column ascending">管理员备注
				        </th>
				        <th class="sorting" role="columnheader" tabindex="0" aria-controls="DataTables_Table_1" rowspan="1" colspan="1" style="width: 118px;" aria-label="CSS grade: activate to sort column ascending">到款状态
				        </th>
				        <th class="sorting" role="columnheader" tabindex="0" aria-controls="DataTables_Table_1" rowspan="1" colspan="1" style="width: 118px;" aria-label="CSS grade: activate to sort column ascending">操作人
				        </th>
			        </tr>
			    </thead>
				<tbody role="alert" aria-live="polite" aria-relevant="all">
				<volist name='data' id="vo">
					<tr class="odd">
			            <td class="">注册积分</td>
			            <if condition="$vo.user_name eq true">
			            <td class=" ">{$vo.true_name}【{$vo.user_name}】</td>
			            <else/>
			            <td class=" ">无真实姓名</td>
			            </if>
			            <td class=" ">{:date('Y-m-d H:i:s',$vo['add_time'])}</td>
			            <td class=" ">${$vo.amount}</td>
			            <td class=" ">{$vo.user_note}</td>
			            <td class=" ">{$vo.admin_note}</td>
			            <td class=" ">已到款</td>
			            <td class=" ">{$vo.admin_user}</td>
			        </tr>
			    </volist>
				</tbody>
			</table>
			<div class="dataTables_info" id="DataTables_Table_1_info">总计：${$zong}</div>
			<div class="dataTables_paginate paging_full_numbers" id="DataTables_Table_1_paginate">
				{$url}
			</div>
		</div>
    </div>
</div>

</block>